package models

// 提现明细 
type CssmWithdrawalDetail struct {
	Id *uint64 `gorm:"column:id;primarykey"` // ID
	WithdrawalId *uint64 `gorm:"column:withdrawal_id"` // 提现ID
	SettlementRecordId *int64 `gorm:"column:settlement_record_id"` // 结算记录ID
	StationId *uint64 `gorm:"column:station_id"` // 充电站id
	SettlementPeriods *string `gorm:"column:settlement_periods"` // 结算期数 合同编号+结算开始年月
	StartDate *jsontime.JsonTime `gorm:"column:start_date"` // 结算开始日期
	EndDate *jsontime.JsonTime `gorm:"column:end_date"` // 结算结束日期
	TotalSettlementFee *float64 `gorm:"column:total_settlement_fee"` // 结算总费用
	CreatedTime *jsontime.JsonTime `gorm:"column:created_time"` 
	UpdatedTime *jsontime.JsonTime `gorm:"column:updated_time"` // 更新时间
}
func (entity *CssmWithdrawalDetail) TableName() string {
	return "cssm_withdrawal_detail"
}